home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global Energy, Angle
- set the puppet of sprite 6 to 1
- set the puppet of sprite 7 to 1
- set the puppet of sprite 8 to 1
- if Energy = "0" then
- set the locH of sprite 12 to 140
- end if
- if Energy = "1" then
- set the locH of sprite 12 to 201
- end if
- if Energy = "2" then
- set the locH of sprite 12 to 262
- end if
- if Energy = "3" then
- set the locH of sprite 12 to 323
- end if
- if Energy = "4" then
- set the locH of sprite 12 to 384
- end if
- if Energy = "5" then
- set the locH of sprite 12 to 445
- end if
- if Energy = "6" then
- set the locH of sprite 12 to 506
- end if
- if Angle = "00" then
- set the locH of sprite 13 to 138
- end if
- if Angle = "05" then
- set the locH of sprite 13 to 179
- end if
- if Angle = "10" then
- set the locH of sprite 13 to 220
- end if
- if Angle = "15" then
- set the locH of sprite 13 to 261
- end if
- if Angle = "20" then
- set the locH of sprite 13 to 302
- end if
- if Angle = "25" then
- set the locH of sprite 13 to 343
- end if
- if Angle = "30" then
- set the locH of sprite 13 to 384
- end if
- if Angle = "35" then
- set the locH of sprite 13 to 425
- end if
- if Angle = "40" then
- set the locH of sprite 13 to 466
- end if
- if Angle = "45" then
- set the locH of sprite 13 to 507
- end if
- set the mouseDownScript to EMPTY
- set the mouseUpScript to "Lock"
- set the keyDownScript to EMPTY
- repeat with count = 12 to 13
- set the constraint of sprite count to count + 2
- end repeat
- end
-